﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.Collection
{
    public class StaticArticalCategoryCollection
    {
        [Required(ErrorMessage = "Please let's enter Name of Static Category.")]
        [DisplayName("Static Categories Name")]
        [StringLength(250)]
        public string StaticCategoryName { get; set; }

        [Required(ErrorMessage = "Please let's enter Alias of Static Category.")]
        [DisplayName("Default value : 0")]
        [StringLength(250)]
        public string StaticCategoryAlias { get; set; }

        [DisplayName("Access")]
        public int? StaticCategoryAccess { get; set; }

        [DisplayName("Params")]
        [StringLength(250)]
        public string StaticCategoryParams { get; set; }

        [DisplayName("Order")]
        [RegularExpression(@"^([0-9]*|\d*\.\d{1}?\d*)$", ErrorMessage = "Order must be a Number.")]
        public int? StaticCategoryOrder { get; set; }

        [DisplayName("Active")]
        public bool StaticCategoryActive { get; set; }

        [DisplayName("Url")]
        public string StaticCategoryUrl { get; set; }

        [DisplayName("LanguagesID")]
        public int? LanguagesID { get; set; }

        [DisplayName("SiteGuid")]
        public int? SiteGuid { get; set; }

        [DisplayName("StaticCategoryParentID")]
        public int StaticCategoryParentID { get; set; }

        [DisplayName("StaticCategoryID")]
        public int StaticCategoryID { get; set; }

        [DisplayName("Images")]
        public string Images { get; set; }
    }
}
